import request from '@/utils/request.js'
// 获取学科列表信息
export const subjectListAPI = (params) => {
  return request({
    url: '/subject/list',
    params
  })
}

// 学科添加
export const subjectAddAPI = (data) => {
  return request({
    url: '/subject/add',
    method: 'post',
    data
  })
}
